{#each items as item,i (item.id)}
    <div>{item}{i}</div>
{/each}